If you intend to develop client code with GameExtender please read this.

GameExtender responds to standard HTTP get requests.

The following are additonal special pages.
accessed like http://server:port/page

getsnap
Downloads the current snap image or video.

getinfo
Displays info about the current gameex state.
If a game is running will show additional information about
the rom and emulator.
If you want to display particular client content based on a running 
emulator or running game you should poll this page.
You can set custom constants on a per emulator basis using
the advanced configuration utility.

gameexcmd
Access like http://server:port/gameexcmd?arg1=value&arg2=value

Supported command are:

control
Control the GameEx interface. Like pressing keystrokes.
LEFT,UP,DOWN,RIGHT,PAGEUP,PAGEDOWN,ENTER,NEXTTRACK,PREVTRRACK,
HOME,BACK,VOLUP,VOLDOWN

setlist
Set the current list/screen in GameEx.
This should be accompanied by the correct filter using "filter=" as an argument.
Use getinfo to see what these should be.

sendkeys
Send keys to windows in the usual sendkeys format.
example: http://server:port/gameexcmd?sendkeys=5

sendkeyslookup
Send keys via a lookup table to windows in the usual sendkeys format.
Should be accompanied by lookupfile= which specifies an ini file which
maps the setting specified to keys to send
example: http://server:port/gameexcmd?sendkeyslookup=reset&lookupfile=stella/stella

In this example the ini file would be named stella.ini in a folder off this one called stella and look like this.

[general]
reset=r

The ket sent would be "r"




Any other get request will download the file within these folders as a standard get request.
ie like a standard web server. MIME types are taken from the registry.

